<?php

namespace app\api\request\user;

use think\Validate;

class UserAddressRequest extends Validate
{
    protected $rule = [
        'id' => 'require',
        'type' => 'require',
        'address' => 'require',
        'captcha' => 'require',
    ];

    protected $scene = [
        'bind' => ['id', 'address','captcha'],
        'info' => ['type'],
        'typeInfo' => ['type'],
        'typeList' => ['type'],
    ];
}